;; Sri Ganeshji : Sri Balaji : Sri Pitreshwarji : Sri Durgaji : Sri Venkateshwara

/*
Objective(s)  
- 	This program demonstrates the Image rendering capability with a Newly
introduced Resource Definition
-	The following report prints/exports a Image as specified by the Source/
Resource and Resource Type

Syntax -
-	Part Attribute 'Image' introduced to accept Resource Name

	[Part: <Part Name>]
		Image	: <Resource Name>

- 	Resource Definition introduced to declare Sources/Resources of Image

	[Resource: <Resource Name>]
		Source	: <Path of the Image File>  ;; Can also accept HTTP/FTP
		Resource: <Resource Object Name> [: Application Path]
		Resource Type : <Type of the Image> ;; BMP/JPEG/Cursor/Icon

Updation History  
-	Created on 04/02/2011
*/ 

[Report: TSPL Smp Resource Type BMP]
	
	Form	: TSPL Smp Resource Type
	Title	: "Resource Type - BMP"
	
[Form: TSPL Smp Resource Type]
	
	Parts	: TSPL Smp Info, TSPL Smp Resource Type
	Buttons	: Print Button, Export Button

	Local	: Part	: TSPL Smp Info	: Local	: Line	: Info	: Local	: Field : Info Field	: Info	: "Image of Type 'BMP' rendered using Part Attribute 'Image' and corresponding definition 'Resource'"
	
[Part: TSPL Smp Resource Type]
	
	Lines	: TSPL Smp Resource Type
;; The Image at Part is rendered in Display, Print as well as Export in 
;; PDF Format
	Image	: TSPL Smp Resource BMP

	[Line: TSPL Smp Resource Type]
		
		Fields	: TSPL Smp Resource Type
		
		[Field: TSPL Smp Resource Type]

			Set As	: ""

[Resource: TSPL Smp Resource BMP]
	
;; BMP File Path is entered as Source and Resource Type is declared as 'BMP'
	Source			: Images\TallyLogo.bmp
	Resource Type	: Bmp

;; End-of-File
